home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
et3_0-a1.lha
/
et3
/
src
/
PictureItem.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-27
|
826b
|
38 lines
#ifndef PictureItem_First
#ifdef __GNUG__
//pragma once
#pragma interface
#endif
#define PictureItem_First
#include "VObject.h"
//---- PictureItem ---------------------------------------------------------------
class PictureItem : public VObject {
protected:
Picture *pic;
short base;
bool deletePicture;
public:
MetaDef(PictureItem);
PictureItem(Picture *b, int base= 0, bool freeold= FALSE);
PictureItem(int id, Picture *b, int base= 0, bool freeold= FALSE);
~PictureItem();
void SetPicture(Picture *bm, bool redraw= TRUE);
Picture *GetPicture()
{ return pic; }
Metric GetMinSize();
void SetBase(int b)
{ base= b; }
void Draw(Rectangle);
void DoObserve(int, int part, void*, Object *op);
OStream& PrintOn(OStream&);
IStream& ReadFrom(IStream&);
};
#endif